.. _`Find label boundaries`: .. _`com.sympathyfordata.imageanalysis.image_find_boundaries`: Find label boundaries ````````````````````` .. image:: image_find_boundary.svg :width: 48 Finds boundaries in a segmented image, returns boolean array with True in the pixels on the boundary between two labels Definition :::::::::: Input ports ........... **source** image source image to find boundaries in Output ports ............ **mask** image mask with boundaries Configuration ............. **Connectivity** (connectivity) Considered connectivity, either direct neighbours (1) or also along diagonals (2) **Mode** (mode) How to mark boundaries: thick marks pixels that are adjacent to differing labels. Inner marks first pixel inside the objects, leaving background unchanged. Outer outlines the boundary of the background pixels to non-background. Examples ........ * :download:`Depth_from_stereo_images.syx ` Implementation .............. .. automodule:: node_segmentation :noindex: .. class:: FindBoundaries :noindex: